<?php
/**
 * Created by PhpStorm.
 * User: yanghe
 * Date: 2016/5/5
 * Time: 9:19
 */
namespace MyClass\CollectArticleBase;

use Illuminate\Support\Facades\DB;

class CollectArticleBase
{
    public static function findCollectArticle()
    {
        $res=DB::table("collect_article")->join("article","collect_article","=","article_id")
            ->get();
        if($res)
        {
            return $res;
        }
        else
        {
            return false;
        }
    }
}